<!DOCTYPE html>
<html>
<head>
    <title>Auto-api</title>
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'/>

    <!--[if lt IE 9]>
    <script src={{url_for('static',filename='javascripts/html5shiv.js')}} type='text/javascript'></script>
    <![endif]-->
    <link href={{url_for('static',filename='stylesheets/bootstrap/bootstrap.css')}} media='all' rel='stylesheet'
          type='text/css'/>
    <link href={{url_for('static',filename='stylesheets/bootstrap/bootstrap-responsive.css')}} media='all'
          rel='stylesheet' type='text/css'/>
    <!-- / jquery ui -->
    <link href={{url_for('static',filename='stylesheets/jquery_ui/jquery-ui-1.10.0.custom.css')}} media='all'
          rel='stylesheet' type='text/css'/>
    <link href={{url_for('static',filename='stylesheets/jquery_ui/jquery.ui.1.10.0.ie.css')}} media='all'
          rel='stylesheet' type='text/css'/>
    <!-- / switch buttons -->
    <link href={{url_for('static',filename='stylesheets/plugins/bootstrap_switch/bootstrap-switch.css')}} media='all'
          rel='stylesheet' type='text/css'/>
    <!-- / xeditable -->
    <link href={{url_for('static',filename='stylesheets/plugins/xeditable/bootstrap-editable.css')}} media='all'
          rel='stylesheet' type='text/css'/>
    <link href={{url_for('static',filename='stylesheets/plugins/common/bootstrap-wysihtml5.css')}} media='all'
          rel='stylesheet' type='text/css'/>
    <!-- / wysihtml5 (wysywig) -->
    <link href={{url_for('static',filename='stylesheets/plugins/common/bootstrap-wysihtml5.css')}} media='all'
          rel='stylesheet' type='text/css'/>
    <!-- / jquery file upload -->
    <link href={{url_for('static',filename='stylesheets/plugins/jquery_fileupload/jquery.fileupload-ui.css')}}
          media='all' rel='stylesheet' type='text/css'/>
    <!-- / full calendar -->
    <link href={{url_for('static',filename='stylesheets/plugins/fullcalendar/fullcalendar.css')}} media='all'
          rel='stylesheet' type='text/css'/>
    <!-- / select2 -->
    <link href={{url_for('static',filename='stylesheets/plugins/select2/select2.css')}} media='all' rel='stylesheet'
          type='text/css'/>
    <!-- / mention -->
    <link href={{url_for('static',filename='stylesheets/plugins/mention/mention.css')}} media='all' rel='stylesheet'
          type='text/css'/>
    <!-- / tabdrop (responsive tabs) -->
    <link href={{url_for('static',filename='stylesheets/plugins/tabdrop/tabdrop.css')}} media='all' rel='stylesheet'
          type='text/css'/>
    <!-- / jgrowl notifications -->
    <link href={{url_for('static',filename='stylesheets/plugins/jgrowl/jquery.jgrowl.min.css')}} media='all'
          rel='stylesheet' type='text/css'/>
    <!-- / datatables -->
    <link href={{url_for('static',filename='stylesheets/plugins/datatables/bootstrap-datatable.css')}} media='all'
          rel='stylesheet' type='text/css'/>
    <!-- / dynatrees (file trees) -->
    <link href={{url_for('static',filename='stylesheets/plugins/dynatree/ui.dynatree.css')}} media='all'
          rel='stylesheet' type='text/css'/>
    <!-- / color picker -->
    <link href={{url_for('static',filename='stylesheets/plugins/bootstrap_colorpicker/bootstrap-colorpicker.css')}}
          media='all' rel='stylesheet' type='text/css'/>
    <!-- / datetime picker -->
    <link href={{url_for('static',filename='stylesheets/plugins/bootstrap_datetimepicker/bootstrap-datetimepicker.min.css')}}
          media='all' rel='stylesheet' type='text/css'/>
    <!-- / daterange picker) -->
    <link href={{url_for('static',filename='stylesheets/plugins/bootstrap_daterangepicker/bootstrap-daterangepicker.css')}}
          media='all' rel='stylesheet' type='text/css'/>
    <!-- / flags (country flags) -->
    <link href={{url_for('static',filename='stylesheets/plugins/flags/flags.css')}} media='all' rel='stylesheet'
          type='text/css'/>
    <!-- / slider nav (address book) -->
    <link href={{url_for('static',filename='stylesheets/plugins/slider_nav/slidernav.css')}} media='all'
          rel='stylesheet' type='text/css'/>
    <!-- / fuelux (wizard) -->
    <link href={{url_for('static',filename='stylesheets/plugins/fuelux/wizard.css')}} media='all' rel='stylesheet'
          type='text/css'/>
    <!-- / flatty theme -->
    <link href={{url_for('static',filename='stylesheets/light-theme.css')}} id='color-settings-body-color' media='all'
          rel='stylesheet' type='text/css'/>
    <!-- / demo -->
    <link href={{url_for('static',filename='stylesheets/demo.css')}} media='all' rel='stylesheet' type='text/css'/>
    <script src={{url_for('static',filename='javascripts/doc_get.js')}} type='text/javascript'></script>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body class='contrast-red '>
<header>
    <div class='navbar'>
        <div class='navbar-inner'>
            <div class='container-fluid'>
                <a class='brand' href='/'>
                    <span class='hidden-phone'>自动文档</span>
                </a>
                <a class='toggle-nav btn pull-left' href='#'>
                    <i class='icon-reorder'></i>
                </a>
                <ul class='nav pull-right'>
                    <li class='dropdown dark user-menu'>
                        <a href='/logout'>
                            <i class='icon-signout'></i>
                            Sign out
                        </a>
                    </li>
                </ul>
                <form accept-charset="UTF-8" class="navbar-search pull-right hidden-phone"
                      onsubmit="return search_result()"/>

                <button class="btn btn-link icon-search" name="button" type="submit"></button>
                <input autocomplete="off" class="search-query span2" id="q_header" name="q" placeholder="Search..."
                       type="text" value=""/>
                </form>
            </div>
        </div>
    </div>
</header>
<div id='wrapper'>
    <div id='main-nav-bg'></div>
    <nav class='' id='main-nav'>
        <div class='navigation'>
            <div class='search'>
                <form accept-charset="UTF-8" action="search_results.html" onsubmit="search_result()"/>
                <div class='search-wrapper'>
                    <input autocomplete="off" class="search-query" id="q" name="q" placeholder="Search..." type="text"
                           value=""/>
                    <button class="btn btn-link icon-search" name="button" type="submit"></button>
                </div>
                </form>
            </div>
            <ul class='nav nav-stacked'>
                {% for lv1 in urls %}
                <li>
                    <a class='dropdown-collapse' href='#'>
                        <i class='icon-arrow-right'></i>
                        <span>{{lv1}}</span>
                        <i class='icon-angle-down angle-down'></i>
                    </a>
                    <ul class='nav nav-stacked'>
                        {% for lv2 in urls[lv1] %}
                        <li>
                            <a class='dropdown-collapse' href='#'>
                                <i class='icon-caret-right'></i>
                                <span>{{lv2}}</span>
                                <i class='icon-angle-down angle-down'></i>
                            </a>
                            <ul class='nav nav-stacked'>
                                {% for lv3 in urls[lv1][lv2] %}
                                <li>
                                    <a onclick={{"get_doc('" + urls[lv1][lv2][lv3].url+"')"}}>
                                    <i class='icon-caret-right'></i>
                                    <span>{{lv3}}</span>
                                    </a>
                                </li>
                                {% endfor %}
                            </ul>
                        </li>
                        {% endfor %}
                    </ul>
                </li>
                {% endfor %}
            </ul>
        </div>
    </nav>
    <section id='content'>
        <div class='container-fluid'>
            <div class='row-fluid' id='content-wrapper'>
                <div class='span12'>
                    <div class="row-fluid">
                        <div class="span12">
                            <div class="page-header">
                                <h1 class="pull-left">
                                    <i class="icon-dashboard"></i>
                                    <span>控制台</span>
                                </h1>
                            </div>
                        </div>
                    </div>
                    <div class="span2 box-quick-link blue-background">
                        <a href="#" onclick="build_model()">
                            <div class="header">
                                <div class="icon-puzzle-piece"></div>
                            </div>
                            <div class="content">构建文档</div>
                        </a>
                    </div>
                    <div class="span2 box-quick-link red-background">
                        <a href={{url_for("clean_model")}}>
                            <div class="header">
                                <div class="icon-exclamation"></div>
                            </div>
                            <div class="content">清理文档</div>
                        </a>
                    </div>
                    <div class="span2 box-quick-link orange-background">
                        <a onclick="auto_solve()">
                            <div class="header">
                                <div class="icon-magic"></div>
                            </div>
                            <div class="content">自动解答</div>
                        </a>
                    </div>
                    <div class="span2 box-quick-link muted-background">
                        <a href="/update_by_answers">
                            <div class="header">
                                <div class="icon-refresh"></div>
                            </div>
                            <div class="content">更新文档</div>
                        </a>
                    </div>
                    <div class="row-fluid">
                        <div class='span12 box bordered-box blue-border' style='margin-top: 20px;margin-bottom: 20px'>
                            <div class='box-header blue-background '>
                                <div class='title'>问题控制台</div>
                                <div class='actions'>
                                    <a href="#" class="btn box-remove btn-mini btn-link"><i class='icon-remove'></i>
                                    </a>
                                    <a href="#" class="btn box-collapse btn-mini btn-link"><i></i>
                                    </a>
                                </div>
                            </div>
                            <div class='box-content box-no-padding'>
                                <div class='responsive-table'>
                                    <div class='scrollable-area'>
                                        <table class='table' style='margin-bottom:0;'>
                                            <thead>
                                            <tr>
                                                <th>
                                                    类型
                                                </th>
                                                <th title="自动表示可以自动解决，挂起表示不能自动解决">
                                                    状态<i class="icon-question-sign"></i>
                                                </th>
                                                <th title="只有实现了相关问题的解决计算流才能改为自动状态">
                                                    操作<i class="icon-question-sign"></i>
                                                </th>
                                            </tr>
                                            </thead>
                                            <tbody>
                                            {% for que in que_state%}
                                            <tr>
                                                <td>{{que.get_type_desc()}}</td>
                                                <td>
                                                    {% if que.auto_solve_available %}
                                                    <span class='label label-success'>自动</span>
                                                    {% else %}
                                                    <span class='label label-warning'>挂起</span>
                                                    {% endif %}
                                                </td>
                                                <td>
                                                    <div class='text-right'>
                                                        {% if que.auto_solve_available %}
                                                        <a class='btn btn-warning btn-mini'
                                                           href='/switch_que_state/{{que.que_type}}'>
                                                            挂起
                                                        </a>
                                                        {% elif que.can_auto_solve() %}
                                                        <a class='btn btn-success btn-mini'
                                                           href='/switch_que_state/{{que.que_type}}'>
                                                            开启自动
                                                        </a>
                                                        {% endif %}
                                                    </div>
                                                </td>
                                            </tr>
                                            {% endfor %}

                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row-fluid">
                        <div class='span12 box bordered-box blue-border' style='margin-top: 20px;margin-bottom: 20px'>
                            <div class='box-header blue-background '>
                                <div class='title'>代理控制台</div>
                                <div class='actions'>
                                    <a href="#" class="btn box-remove btn-mini btn-link"><i class='icon-remove'></i>
                                    </a>
                                    <a href="#" class="btn box-collapse btn-mini btn-link"><i></i>
                                    </a>
                                </div>
                            </div>
                            <div class='box-content box-no-padding'>
                                <div class='responsive-table'>
                                    <div class='scrollable-area'>
                                        <table class='table' style='margin-bottom:0;'>
                                            <thead>
                                            <tr>
                                                <th>
                                                    内容
                                                </th>
                                                <th>
                                                    状态
                                                </th>
                                                <th>
                                                    操作
                                                </th>
                                            </tr>
                                            </thead>
                                            <tbody>
                                            <tr>
                                                <td>开启代理</td>
                                                <td>
                                                    {% if state.is_on_listen() %}
                                                    <span class='label label-success'>开启</span>
                                                    {% else %}
                                                    <span class='label label-error'>关闭</span>
                                                    {% endif %}
                                                </td>
                                                <td>
                                                    <div class='text-right'>
                                                        {% if state.is_on_listen() %}
                                                        <a class='btn btn-warning btn-mini'
                                                           href='/switch_proxy_state/listenAsk'>
                                                            关闭
                                                        </a>
                                                        {% else %}
                                                        <a class='btn btn-success btn-mini'
                                                           href='/switch_proxy_state/listenAsk'>
                                                            开启
                                                        </a>
                                                        {% endif %}
                                                    </div>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>代理去重--请求参数</td>
                                                <td>
                                                    {% if state.md_use_data() %}
                                                    <span class='label label-success'>开启</span>
                                                    {% else %}
                                                    <span class='label label-error'>关闭</span>
                                                    {% endif %}
                                                </td>
                                                <td>
                                                    <div class='text-right'>
                                                        {% if state.md_use_data() %}
                                                        <a class='btn btn-warning btn-mini'
                                                           href='/switch_proxy_state/use_data'>
                                                            关闭
                                                        </a>
                                                        {% else %}
                                                        <a class='btn btn-success btn-mini'
                                                           href='/switch_proxy_state/use_data'>
                                                            使用
                                                        </a>
                                                        {% endif %}
                                                    </div>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>代理去重--返回结果</td>
                                                <td>
                                                    {% if state.md_use_result() %}
                                                    <span class='label label-success'>开启</span>
                                                    {% else %}
                                                    <span class='label label-error'>关闭</span>
                                                    {% endif %}
                                                </td>
                                                <td>
                                                    <div class='text-right'>
                                                        {% if state.md_use_result() %}
                                                        <a class='btn btn-warning btn-mini'
                                                           href='/switch_proxy_state/use_result'>
                                                            关闭
                                                        </a>
                                                        {% else %}
                                                        <a class='btn btn-success btn-mini'
                                                           href='/switch_proxy_state/use_result'>
                                                            开启
                                                        </a>
                                                        {% endif %}
                                                    </div>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>代理去重--请求头</td>
                                                <td>
                                                    {% if state.md_use_header() %}
                                                    <span class='label label-success'>开启</span>
                                                    {% else %}
                                                    <span class='label label-error'>关闭</span>
                                                    {% endif %}
                                                </td>
                                                <td>
                                                    <div class='text-right'>
                                                        {% if state.md_use_header() %}
                                                        <a class='btn btn-warning btn-mini'
                                                           href='/switch_proxy_state/use_header'>
                                                            关闭
                                                        </a>
                                                        {% else %}
                                                        <a class='btn btn-success btn-mini'
                                                           href='/switch_proxy_state/use_header'>
                                                            开启
                                                        </a>
                                                        {% endif %}
                                                    </div>
                                                </td>
                                            </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="span12 box">
                        <div class="box-header">
                            <div class="title">
                                <i class="icon-pencil"></i>
                                使用说明
                            </div>
                            <div class="actions">
                                <a href="#" class="btn box-remove btn-mini btn-link"><i class="icon-remove"></i>
                                </a>
                                <a href="#" class="btn box-collapse btn-mini btn-link"><i></i>
                                </a>
                            </div>
                        </div>
                        <div class="box-content">
                            {{doc|safe}}
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

</div>
<!-- / jquery -->
<script src={{url_for('static',filename='javascripts/jquery/jquery.min.js')}} type='text/javascript'></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-treegrid/0.2.0/js/jquery.treegrid.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/jquery-treegrid/0.2.0/css/jquery.treegrid.css" rel="stylesheet">
<!-- / jquery mobile events (for touch and slide) -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-treegrid/0.2.0/js/jquery.treegrid.min.js"></script>
<script src={{url_for('static',filename='javascripts/plugins/mobile_events/jquery.mobile-events.min.js')}}
        type='text/javascript'></script>
<!-- / jquery migrate (for compatibility with new jquery) -->
<script src={{url_for('static',filename='javascripts/jquery/jquery-migrate.min.js')}} type='text/javascript'></script>
<!-- / jquery ui -->
<script src={{url_for('static',filename='javascripts/jquery_ui/jquery-ui.min.js')}} type='text/javascript'></script>
<!-- / bootstrap -->
<script src={{url_for('static',filename='javascripts/bootstrap/bootstrap.min.js')}} type='text/javascript'></script>
<script src={{url_for('static',filename='javascripts/plugins/flot/excanvas.js')}} type='text/javascript'></script>
<!-- / sparklines -->
<script src={{url_for('static',filename='javascripts/plugins/sparklines/jquery.sparkline.min.js')}}
        type='text/javascript'></script>
<!-- / flot charts -->
<script src={{url_for('static',filename='javascripts/plugins/flot/flot.min.js')}} type='text/javascript'></script>
<script src={{url_for('static',filename='javascripts/plugins/flot/flot.resize.js')}} type='text/javascript'></script>
<script src={{url_for('static',filename='javascripts/plugins/flot/flot.pie.js')}} type='text/javascript'></script>
<!-- / bootstrap switch -->
<script src={{url_for('static',filename='javascripts/plugins/bootstrap_switch/bootstrapSwitch.min.js')}}
        type='text/javascript'></script>
<!-- / fullcalendar -->
<script src={{url_for('static',filename='javascripts/plugins/fullcalendar/fullcalendar.min.js')}}
        type='text/javascript'></script>
<!-- / datatables -->
<script src={{url_for('static',filename='javascripts/plugins/datatables/jquery.dataTables.min.js')}}
        type='text/javascript'></script>
<script src={{url_for('static',filename='javascripts/plugins/datatables/jquery.dataTables.columnFilter.js')}}
        type='text/javascript'></script>
<!-- / wysihtml5 -->
<script src={{url_for('static',filename='javascripts/plugins/common/wysihtml5.min.js')}}
        type='text/javascript'></script>
<script src={{url_for('static',filename='javascripts/plugins/common/bootstrap-wysihtml5.js')}}
        type='text/javascript'></script>

<!-- / select2 -->
<script src={{url_for('static',filename='javascripts/plugins/select2/select2.js')}} type='text/javascript'></script>
<!-- / color picker -->
<script src={{url_for('static',filename='javascripts/plugins/bootstrap_colorpicker/bootstrap-colorpicker.min.js')}}
        type='text/javascript'></script>
<!-- / mention -->
<script src={{url_for('static',filename='javascripts/plugins/mention/mention.min.js')}} type='text/javascript'></script>
<!-- / input mask -->
<script src={{url_for('static',filename='javascripts/plugins/input_mask/bootstrap-inputmask.min.js')}}
        type='text/javascript'></script>
<!-- / fileinput -->
<script src={{url_for('static',filename='javascripts/plugins/fileinput/bootstrap-fileinput.js')}}
        type='text/javascript'></script>
<!-- / modernizr -->
<script src={{url_for('static',filename='javascripts/plugins/modernizr/modernizr.min.js')}}
        type='text/javascript'></script>
<!-- / retina -->
<script src={{url_for('static',filename='javascripts/plugins/retina/retina.js')}} type='text/javascript'></script>
<!-- / fileupload -->
<script src={{url_for('static',filename='javascripts/plugins/fileupload/tmpl.min.js')}} type='text/javascript'></script>
<script src={{url_for('static',filename='javascripts/plugins/fileupload/load-image.min.js')}}
        type='text/javascript'></script>
<script src={{url_for('static',filename='javascripts/plugins/fileupload/canvas-to-blob.min.js')}}
        type='text/javascript'></script>
<script src={{url_for('static',filename='javascripts/plugins/fileupload/jquery.iframe-transport.min.js')}}
        type='text/javascript'></script>
<script src={{url_for('static',filename='javascripts/plugins/fileupload/jquery.fileupload.min.js')}}
        type='text/javascript'></script>
<script src={{url_for('static',filename='javascripts/plugins/fileupload/jquery.fileupload-fp.min.js')}}
        type='text/javascript'></script>
<script src={{url_for('static',filename='javascripts/plugins/fileupload/jquery.fileupload-ui.min.js')}}
        type='text/javascript'></script>
<script src={{url_for('static',filename='javascripts/plugins/fileupload/jquery.fileupload-init.js')}}
        type='text/javascript'></script>
<!-- / timeago -->
<script src={{url_for('static',filename='javascripts/plugins/timeago/jquery.timeago.js')}}
        type='text/javascript'></script>
<!-- / slimscroll -->
<script src={{url_for('static',filename='javascripts/plugins/slimscroll/jquery.slimscroll.min.js')}}
        type='text/javascript'></script>
<!-- / autosize (for textareas) -->
<script src={{url_for('static',filename='javascripts/plugins/autosize/jquery.autosize-min.js')}}
        type='text/javascript'></script>
<!-- / charCount -->
<script src={{url_for('static',filename='javascripts/plugins/charCount/charCount.js')}} type='text/javascript'></script>
<!-- / validate -->
<script src={{url_for('static',filename='javascripts/plugins/validate/jquery.validate.min.js')}}
        type='text/javascript'></script>
<script src={{url_for('static',filename='javascripts/plugins/validate/additional-methods.js')}}
        type='text/javascript'></script>
<!-- / naked password -->
<script src={{url_for('static',filename='javascripts/plugins/naked_password/naked_password-0.2.4.min.js')}}
        type='text/javascript'></script>
<!-- / nestable -->
<script src={{url_for('static',filename='javascripts/plugins/nestable/jquery.nestable.js')}}
        type='text/javascript'></script>
<!-- / tabdrop -->
<script src={{url_for('static',filename='javascripts/plugins/tabdrop/bootstrap-tabdrop.js')}}
        type='text/javascript'></script>
<!-- / jgrowl -->
<script src={{url_for('static',filename='javascripts/plugins/jgrowl/jquery.jgrowl.min.js')}}
        type='text/javascript'></script>
<!-- / bootbox -->
<script src={{url_for('static',filename='javascripts/plugins/bootbox/bootbox.min.js')}} type='text/javascript'></script>
<!-- / inplace editing -->
<script src={{url_for('static',filename='javascripts/plugins/xeditable/bootstrap-editable.min.js')}}
        type='text/javascript'></script>
<script src={{url_for('static',filename='javascripts/plugins/xeditable/wysihtml5.js')}} type='text/javascript'></script>
<!-- / ckeditor -->
<script src={{url_for('static',filename='javascripts/plugins/ckeditor/ckeditor.js')}} type='text/javascript'></script>
<!-- / filetrees -->
<script src={{url_for('static',filename='javascripts/plugins/dynatree/jquery.dynatree.min.js')}}
        type='text/javascript'></script>
<!-- / datetime picker -->
<script src={{url_for('static',filename='javascripts/plugins/bootstrap_datetimepicker/bootstrap-datetimepicker.js')}}
        type='text/javascript'></script>
<!-- / daterange picker -->
<script src={{url_for('static',filename='javascripts/plugins/bootstrap_daterangepicker/moment.min.js')}}
        type='text/javascript'></script>
<script src={{url_for('static',filename='javascripts/plugins/bootstrap_daterangepicker/bootstrap-daterangepicker.js')}}
        type='text/javascript'></script>
<!-- / max length -->
<script src={{url_for('static',filename='javascripts/plugins/bootstrap_maxlength/bootstrap-maxlength.min.js')}}
        type='text/javascript'></script>
<!-- / dropdown hover -->
<script src={{url_for('static',filename='javascripts/plugins/bootstrap_hover_dropdown/twitter-bootstrap-hover-dropdown.min.js')}}
        type='text/javascript'></script>
<!-- / slider nav (address book) -->
<script src={{url_for('static',filename='javascripts/plugins/slider_nav/slidernav-min.js')}}
        type='text/javascript'></script>
<!-- / fuelux -->
<script src={{url_for('static',filename='javascripts/plugins/fuelux/wizard.js')}} type='text/javascript'></script>
<!-- / flatty theme -->
<script src={{url_for('static',filename='javascripts/nav.js')}} type='text/javascript'></script>
<script src={{url_for('static',filename='javascripts/tables.js')}} type='text/javascript'></script>
<script src={{url_for('static',filename='javascripts/theme.js')}} type='text/javascript'></script>
<!-- / demo -->
<script src={{url_for('static',filename='javascripts/demo/jquery.mockjax.js')}} type='text/javascript'></script>
<script src={{url_for('static',filename='javascripts/demo/inplace_editing.js')}} type='text/javascript'></script>
<script src={{url_for('static',filename='javascripts/demo/charts.js')}} type='text/javascript'></script>
<script src={{url_for('static',filename='javascripts/demo/demo.js')}} type='text/javascript'></script>

</body>
</html>
